import Request from '@/axios/request'

export function getWorshipCollections(params) {
  return Request.get('worship-collections', { params })
}

export function createWorshipCollection() {
  return Request.get('worship-collections/create')
}

export function storeWorshipCollection(data) {
  return Request.post('worship-collections', data)
}

export function updateWorshipCollection(id, data) {
  return Request.put(`worship-collections/${id}`, data)
}

export function editWorshipCollection(id) {
  return Request.get(`worship-collections/${id}/edit`)
}

export function destroyWorshipCollection(id) {
  return Request.delete(`worship-collections/${id}`)
}

export function exportWorshipCollection(id) {
  return Request.post(`worship-collections/export/${id}`)
}
export function showWorshipCollection(id) {
  return Request.get(`worship-collections/${id}`)
}